class CultureType {
  List<NewsCultureTypeList> newsCultureTypeList;

  CultureType({this.newsCultureTypeList});

  CultureType.fromJson(Map<String, dynamic> json) {
    if (json['newsCultureTypeList'] != null) {
      newsCultureTypeList = new List<NewsCultureTypeList>();
      json['newsCultureTypeList'].forEach((v) {
        newsCultureTypeList.add(new NewsCultureTypeList.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.newsCultureTypeList != null) {
      data['newsCultureTypeList'] =
          this.newsCultureTypeList.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class NewsCultureTypeList {
  String typeName;
  int newsCultureTypeId;

  NewsCultureTypeList({this.typeName, this.newsCultureTypeId});

  NewsCultureTypeList.fromJson(Map<String, dynamic> json) {
    typeName = json['typeName'];
    newsCultureTypeId = json['newsCultureTypeId'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['typeName'] = this.typeName;
    data['newsCultureTypeId'] = this.newsCultureTypeId;
    return data;
  }
}